<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wickr-crypto-c: wickr_identity Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">wickr-crypto-c
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">wickr_identity Struct Reference<div class="ingroups"><a class="el" href="group__wickr__identity.html">wickr_identity</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A signing identity on the Wickr system.  
 <a href="structwickr__identity.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="identity_8h_source.html">identity.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a685dae977849c05c84ee4a0b10c9396d"><td class="memItemLeft" align="right" valign="top">wickr_identity_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__identity.html#a685dae977849c05c84ee4a0b10c9396d">type</a></td></tr>
<tr class="separator:a685dae977849c05c84ee4a0b10c9396d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed3657b22d83bb810b51ea1d1520b23e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__identity.html#aed3657b22d83bb810b51ea1d1520b23e">identifier</a></td></tr>
<tr class="separator:aed3657b22d83bb810b51ea1d1520b23e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a788a08ac03576cb76d9b2eaf81a7af3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__ec__key.html">wickr_ec_key_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__identity.html#a788a08ac03576cb76d9b2eaf81a7af3e">sig_key</a></td></tr>
<tr class="separator:a788a08ac03576cb76d9b2eaf81a7af3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb6bd9f5f9707be10fb273ce8d0b5928"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__ecdsa__result.html">wickr_ecdsa_result_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__identity.html#afb6bd9f5f9707be10fb273ce8d0b5928">signature</a></td></tr>
<tr class="separator:afb6bd9f5f9707be10fb273ce8d0b5928"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A signing identity on the Wickr system. </p>
<p>ROOT - Account level, serves as the root of trust for all nodes associated with it. The root sig_key signs each node to provide authenticity of its ownership NODE - Application level identifier, serves as the root of trust for all ephemeral keypairs associated with it, the node is owned / signed by a ROOT node. Nodes are messaging endpoints, owned by a particular root for the purpose of multi-client messaging</p>
<p>Identities are meant to be cached, pinned, and optimally "verified" either out of band, or in band using a feature such as Wickr's "video verification". When verifying a new node identity, the root that was previously cached should be loaded and used to perform the signature validation of the new node. Node identities should also be cached, for the purpose of being able to consistently verify ephemeral keypairs signed by that node as part of generating message key exchanges </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="aed3657b22d83bb810b51ea1d1520b23e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed3657b22d83bb810b51ea1d1520b23e">&#9670;&nbsp;</a></span>identifier</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_identity::identifier</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>a system wide unique value for this identity </p>

</div>
</div>
<a id="a788a08ac03576cb76d9b2eaf81a7af3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a788a08ac03576cb76d9b2eaf81a7af3e">&#9670;&nbsp;</a></span>sig_key</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_identity::sig_key</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the signing key of the identity, will contain private information for your local identity to support signing, and only public information of other identities </p>

</div>
</div>
<a id="afb6bd9f5f9707be10fb273ce8d0b5928"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb6bd9f5f9707be10fb273ce8d0b5928">&#9670;&nbsp;</a></span>signature</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_identity::signature</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the signature of the public 'sig_key', signed by the root private 'sig_key'. NULL if root identity </p>

</div>
</div>
<a id="a685dae977849c05c84ee4a0b10c9396d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a685dae977849c05c84ee4a0b10c9396d">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_identity::type</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the type of identity (NODE OR ROOT) </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/wickrcrypto/include/wickrcrypto/<a class="el" href="identity_8h_source.html">identity.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
